import * as types from './mutations_types'
// import { setStorage } from '@/utils/storage.js'

export default {
  [types.SET_EDUCATION_LIST](state, data) {
    state.educationList = data
    // setStorage('token', state.token)
  },
  [types.SET_BANK_LIST](state, data) {
    state.bankList = data
    // setStorage('token', state.token)
  },
  [types.SET_POLITICAL_LIST](state, data) {
    state.politicalList = data
    // setStorage('token', state.token)
  },
  [types.SET_MARRY_LIST](state, data) {
    state.marryList = data
    // setStorage('token', state.token)
  },
  [types.SET_NATION_LIST](state, data) {
    state.nationList = data
    // setStorage('token', state.token)
  },
  [types.SET_INVOICECOMPANY_LIST](state, data) {
    state.invoiceCompanyList = data
    // setStorage('token', state.token)
  },
  [types.SET_UNIFORM_LIST](state, data) {
    state.uniformList = data
    // setStorage('token', state.token)
  },
  [types.SET_SOCIAL_ACCURACY_LIST](state, data) {
    console.log(data)
    state.socialSecurityAccuracyList = data

  },
  [types.SET_EMP_POST_LIST](state, data) {
    console.log(data)
    state.employeePostLevelList = data

  },
  [types.SET_EMP_COM_LIST](state, data) {
    console.log(data)
    state.employeeCompanyList  = data

  }
}
